package com.spring.annotion;

import com.spring.xmlrules.RequestMethod;

import java.lang.annotation.*;

/**
 * @Description:
 * @Auther: zhibo
 * @Date: 2018/8/23 18:12
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyRequestMapping {

    String value() default "";

    RequestMethod[] method() default {};

}
